<template>
	<view>
		订单
		<view v-for="item in pro" style="margin: 40rpx; align-items: center;"
		
		>
			<uni-row>
				<uni-col :span="6">
					<view>
						<image src="../../static/logo.png" style="width: 100rpx; height: 100rpx;"></image>
					</view>
				</uni-col>
				<uni-col :span="12">
					<view>
						{{item.name}}---{{item.valuename}}----{{item.zt}}
					</view>
				</uni-col>
				<uni-col :span="6">
					<view>
						<u-button style="font-size: 30rpx;" @click="listing(item)">{{item.type}}</u-button>
					</view>
				</uni-col>
			</uni-row>
			
			
			{{$store.state.id}}
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				pro:[]
				
			};
		},
		created(){
			const baseUrl="http://localhost:8888"
			uni.request({
				url:baseUrl+'/s/orderform/findstatu/'+this.$store.state.id,
				method:"GET"

			}).then(res=>{
				this.pro=res.data.data
			console.log(res.data.data)
			})
		}
	}
</script>

<style lang="scss">

</style>
